<?php
/**
  * @version $Id: wp-config.php,v 0.15 2007/09/07 11:55:55 visualweb Exp $ 
  * @package com_mojo
  * @copyright (c) 1guywebdesign.com 
  * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL 
  *
  *	added user tables
  *	renamed component
  *	cleaned up install and uninstall xml
  */
// don't allow display -outside- of joomla environment  
	defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
	defined( '_JEXEC' ) or die('Restricted Access');//1.5
	var_dump('cleanup wpconfig');

	global $mosConfig_absolute_path, $mosConfig_dbprefix, $mosConfig_db, $mosConfig_user, $mosConfig_password, $mosConfig_host;

// Get globals from joomla
	define('DB_NAME', $mosConfig_db);						 
	define('DB_USER', $mosConfig_user);					 
	define('DB_PASSWORD', $mosConfig_password);	 
	define('DB_HOST', $mosConfig_host);					 

// Define table, WP language files and point WP functions to mojo directory.
	$table_prefix  = $mosConfig_dbprefix.'wp_';   // only use wp_ as we need this still for plugin support
		define ('WPLANG', '');
		define('ABSPATH', $mosConfig_absolute_path.'/components/com_mojo/');
		define('ENABLE_CACHE', true); // cache setting, true means on
	require_once(ABSPATH.'wp-settings.php');
?>